package com.chaochis.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 刘超
 * @version 1.0
 * 评论实体类
 * Created in 2024/11/24 20:40
 */
@Data
@TableName("comment")
public class CommentEntity implements Serializable {
    @TableId
    private String commentId; // 评论id
    private String userId; // 用户id
    private String commentContent; // 评论内容
    private String articleId; // 文章id
    private Integer commentScore; // 评论分数
    private String createTime; // 评论时间
}
